package com.szxy.miaosha.redis;

/**
 * @Auther:wzer
 * @Date:2020/9/6
 * @Description:com.szxy.miaosha.redis
 * @Version:1.0
 **/
public class MiaoShaUserPrefixKey extends BasePrefix {

    private static final int EXPIRESECOND = 2 * 3600;

    public MiaoShaUserPrefixKey(String prefix) {
        super(prefix);
    }

    public MiaoShaUserPrefixKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }


    public static final MiaoShaUserPrefixKey SESSION_TOKEN = new MiaoShaUserPrefixKey(EXPIRESECOND, "token");

    public static final MiaoShaUserPrefixKey getById_ex = new MiaoShaUserPrefixKey(10, "id");

}
